package com.huarui.payable.model;

import java.math.BigDecimal;
import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;



public class Payable extends BaseDataObject{

	private static final long serialVersionUID = 7624833486120322084L;
	
	public static final Integer STATUS_UNCOMPLETE=0;
	public static final Integer STATUS_COMPLETE=1;
	
	
	private Integer id;
	private Integer companyId;// 公司ID
	private Integer customerId;// 客户ID
	private String code; //应付款凭证号
	private Integer documentType;// 单据类型
	private Integer documentId;// 单据ID
	private String documentCode;//单据号
	private BigDecimal payable; // 应付款
	private BigDecimal paid;// 已付款
	private Integer status;// 状态(0 未支付完成 1 支付完成)
	private Date gmtCreate;
	private Date gmtModify;
	private Date gmtPaid;    //结束日期
    private Integer workFlowId; //流程ID
    private Integer currentorId; //当前处理人ID
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public Integer getDocumentType() {
		return documentType;
	}

	public void setDocumentType(Integer documentType) {
		this.documentType = documentType;
	}

	public Integer getDocumentId() {
		return documentId;
	}

	public void setDocumentId(Integer documentId) {
		this.documentId = documentId;
	}



	public BigDecimal getPayable() {
		return payable;
	}

	public void setPayable(BigDecimal payable) {
		this.payable = payable;
	}

	public BigDecimal getPaid() {
		return paid;
	}

	public void setPaid(BigDecimal paid) {
		this.paid = paid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Date getGmtPaid() {
		return gmtPaid;
	}

	public void setGmtPaid(Date gmtPaid) {
		this.gmtPaid = gmtPaid;
	}

	public Integer getWorkFlowId() {
		return workFlowId;
	}

	public void setWorkFlowId(Integer workFlowId) {
		this.workFlowId = workFlowId;
	}

	public Integer getCurrentorId() {
		return currentorId;
	}

	public void setCurrentorId(Integer currentorId) {
		this.currentorId = currentorId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDocumentCode() {
		return documentCode;
	}

	public void setDocumentCode(String documentCode) {
		this.documentCode = documentCode;
	}

	

}
